import request from '@/utils/request'

// 查询轨迹预测列表
export function listTraceForecast(query) {
  return request({
    url: '/manage/traceForecast/list',
    method: 'get',
    params: query
  })
}

// 查询轨迹预测详细
export function getTraceForecast(forecastId) {
  return request({
    url: '/manage/traceForecast/' + forecastId,
    method: 'get'
  })
}

// 新增轨迹预测
export function addTraceForecast(data) {
  return request({
    url: '/manage/traceForecast',
    method: 'post',
    data: data
  })
}

// 修改轨迹预测
export function updateTraceForecast(data) {
  return request({
    url: '/manage/traceForecast',
    method: 'put',
    data: data
  })
}

// 删除轨迹预测
export function delTraceForecast(forecastId) {
  return request({
    url: '/manage/traceForecast/' + forecastId,
    method: 'delete'
  })
}
